<?php
class AppError extends ErrorHandler {
	var $view = 'Theme';
	var $theme = HOST;

	
	function error404($params) {
		$this->controller->redirect(array('controller'=>'pages', 'action'=>'display'));
		parent::error404($params);
	}
	
	function missingView($params = array()) {
		parent::error404($params);
		$this->controller->_setLanguage();

	
	}
}    
?>